public class 方法重载 {
    public static void main(String[] args) {
        System.out.println(add(5,5.25));
        System.out.println(add(5,5,5));
        System.out.println(add(5.0,4));

    }
    public  static  double  add(int n1,double n2){
        double add_1  = n1 +n2;
        return add_1;

    }
    public  static  int  add(int n1,int n2,int n3) {
        int add_1 = n1 * n2*n3;
        return add_1;
    }
    public  static  double  add(double n1,int n2) {
        double add_1 = n1 * n2;
        return add_1;
    }
}

